import http from '@/utils/http'
/**
 * 获取所有设备
 * @returns
 */
export function fetchAllDevice() {
    return http({
        url: '/v1/role/device',
        method: 'get'
    })
}
/**
 * 获取所有地图
 * @returns
 */
export function fetchAllMap() {
    return http({
        url: '/v1/role/map',
        method: 'get'
    })
}
/**
 * 常用功能导航菜单
 * @returns
 */
export function fetchMavMenus() {
    return http({
        url: '/v1/role/navMenus',
        method: 'get'
    })
}
/**
 * 获取所有角色
 * @returns
 */
export function fetchRoleBasic() {
    return http({
        url: '/v1/role/basic',
        method: 'get'
    })
}
